package com.sxbbc.common.core.entity.jz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 预约提鸡
 * </p>
 *
 * @author 
 * @since 2020-03-27
 */
@Data
public class ChickenSubscribe implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer cid;

    /**
     * 预约店铺名称
     */
    private Integer bid;

    /**
     * 提鸡券名称,多个通过逗号分隔
     */
    private String ccids;


    /**
     * 预约编号
     */
    private String no;

    /**
     * 订单号
     */
    private String orderCode;

    /**
     * 预约时间
     */
    private LocalDateTime subscribeTime;

    /**
     * 预约时间
     */
    private LocalDateTime completeTime;
    /**
     * 失效时间
     */
    private LocalDateTime invalidTime;

    /**
     * 预约状态   0 已预约 1 已核销 2 未核销已过期 
     */
    private Integer status;

    /**
     * 提鸡数量
     */
    private Integer num;

    /**
     * 核销码图片
     */
    private String subscribeCode;

    /**
     * 下单时间
     */
    private LocalDateTime createTime;

    @TableField(exist=false)
    private  String nickName;
    @TableField(exist=false)
    private  String levelName;
    @TableField(exist=false)
    private String nickNameOn;
    @TableField(exist=false)
    private String cusNickName;
    @TableField(exist=false)
    private Integer onOff;

    @TableField(exist=false)
    private String onOffName;
    /***
     * 提鸡券标题
     */
    @TableField(exist=false)
    private  String ccTitles;

    @TableField(exist=false)
    private  String queryTime;

    @TableField(exist=false)
    private  String start;

    @TableField(exist=false)
    private  String end;

    @TableField(exist=false)
    private  String login;

    @TableField(exist=false)
    private String statusName;

    @TableField(exist=false)
    private  String linkPhone;


    @TableField(exist=false)
    private  String cusLinkPhone;

    /**
     * 店铺地址的经度
     */
    @TableField(exist=false)
    private String lonVal;

    /**
     * 店铺地址的纬度
     */
    @TableField(exist=false)
    private String latVal;


}
